Searched hist:dfe2a77f (Results 1 – 1 of 1) sorted by path
/linux/lib/ |
H A D | kfifo.c | dfe2a77f Thu Feb 28 01:05:51 GMT 2013 Stefani Seibold <stefani@seibold.net> kfifo: fix kfifo_alloc() and kfifo_init()
Fix kfifo_alloc() and kfifo_init() to alloc at least the requested number of elements. Since the kfifo operates on power of 2 the request size will be rounded up to the next power of two.
Signed-off-by: Stefani Seibold <stefani@seibold.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|